package com.wx.model.base;

import com.eachonline.model.BaseModel;
import java.io.Serializable;
import java.util.Date;

public class BaseIxbCourseShare extends BaseModel implements Serializable {
    private Integer id;

    private String courseId;

    private String shareUserId;

    private Integer salesVolume;

    private Integer shareVolume;

    private Integer visitVolume;

    private Double bounsCharge;

    private Date createTime;

    private String isUse;

    private String comment;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId == null ? null : courseId.trim();
    }

    public String getShareUserId() {
        return shareUserId;
    }

    public void setShareUserId(String shareUserId) {
        this.shareUserId = shareUserId == null ? null : shareUserId.trim();
    }

    public Integer getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(Integer salesVolume) {
        this.salesVolume = salesVolume;
    }

    public Integer getShareVolume() {
        return shareVolume;
    }

    public void setShareVolume(Integer shareVolume) {
        this.shareVolume = shareVolume;
    }

    public Integer getVisitVolume() {
        return visitVolume;
    }

    public void setVisitVolume(Integer visitVolume) {
        this.visitVolume = visitVolume;
    }

    public Double getBounsCharge() {
        return bounsCharge;
    }

    public void setBounsCharge(Double bounsCharge) {
        this.bounsCharge = bounsCharge;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIsUse() {
        return isUse;
    }

    public void setIsUse(String isUse) {
        this.isUse = isUse == null ? null : isUse.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", courseId=").append(courseId);
        sb.append(", shareUserId=").append(shareUserId);
        sb.append(", salesVolume=").append(salesVolume);
        sb.append(", shareVolume=").append(shareVolume);
        sb.append(", visitVolume=").append(visitVolume);
        sb.append(", bounsCharge=").append(bounsCharge);
        sb.append(", createTime=").append(createTime);
        sb.append(", isUse=").append(isUse);
        sb.append(", comment=").append(comment);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BaseIxbCourseShare other = (BaseIxbCourseShare) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        return result;
    }
}